package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.SetmealDto;
import com.itheima.reggie.entify.Setmeal;
import com.itheima.reggie.entify.SetmealDish;

import java.util.List;

public interface SetmealService extends IService<Setmeal> {
    //新增套餐接口方法
    public R saveSetmeal(SetmealDto setmealDto);

    //删除套餐的接口
    public boolean  deleteWithDish(List<Long>ids);

    //根据id查询套餐数据
    public SetmealDto getByIdSetmeal(Long id );

    //修改套餐
    public void updateWithDish(SetmealDto setmealDto);
}
